//
//  testViewController.swift
//  ExtremeHealth
//
//  Created by Zhongkai Li 李忠凯 on 2018/9/17.
//  Copyright © 2018 GanDongKeJi. All rights reserved.
//

import UIKit
import RxSwift
import Moya

class TestViewController: UIViewController {

    let bag = DisposeBag()

    override func viewDidLoad() {
        super.viewDidLoad()
        view.backgroundColor = .white

        FetchCaptchaViewModel().fetch(phoneNo: "13223929619", scene: "1", disposeBag: bag)
//        SignUpViewModel().signUp(bag: bag)
//        LoginViewModel().logIn(bag: bag)
//        AppUser.current.tokenInfo = TokenInfo(accessToken: "4D6F4D0A08F545299A1E88FA0B06EA7E", refreshToken: "4D6F4D0A08F545299A1E88FA0B06EA7E")
//        FetchUserProfileViewModel().fetchProfile(bag: bag)
//        LogOutViewModel().logOut(bag: bag)

        // token: C1BCB79044F74033A18332C000DF4D7D
    }
}
